package com.classic.okhttp.beans;

import com.classic.okhttp.enums.Enum;
import java.util.ArrayList;


import java.io.Serializable;
import com.classic.okhttp.CustomBeans.HVCustomWalkCouponBean;

public class HVWalkCouponBean extends HVCustomWalkCouponBean implements Serializable  { 

	//优惠券模版编号  //(int)
	public int couponId;

	//优惠券名称  //(String)
	public String couponName;

	//金额使用条件  //(double)
	public double condition;

	//可优惠金额  //(double)
	public double money;

	//优惠券简介  //(String)
	public String content;

	//优惠类型   1= 满减优惠  2= 抵扣优惠  //(Entc.CouponType)
	public int couponType;

	//兑换需要步数  //(int)
	public int costStepNumber;

	//当前用户可兑换次数  //(int)
	public int exchangeNumber;

	//优惠券库存数量  //(int)
	public int stockNumber;

	//开始兑换时间  //(long)
	public long grantStartTime;

	//结束兑换时间  //(long)
	public long grantEndTime;

	//优惠券有效期开始时间  //(long)
	public long startTime;

	//优惠券有效期结束时间  //(long)
	public long endTime;

	//是否是专属 true是 false否  //(boolean)
	public boolean exclusive;


	public void setCouponId(int value) { couponId  = value; } 
	public int getCouponId() { return couponId ; } 

	public void setCouponName(String value) { couponName  = value; } 
	public String getCouponName() { return couponName ; } 

	public void setCondition(double value) { condition  = value; } 
	public double getCondition() { return condition ; } 

	public void setMoney(double value) { money  = value; } 
	public double getMoney() { return money ; } 

	public void setContent(String value) { content  = value; } 
	public String getContent() { return content ; } 

	public void setCouponType(int value) { couponType  = value; } 
	public Enum.EnumCouponType getCouponType() { return Enum.EnumCouponType.valueOf( couponType ); } 

	public void setCostStepNumber(int value) { costStepNumber  = value; } 
	public int getCostStepNumber() { return costStepNumber ; } 

	public void setExchangeNumber(int value) { exchangeNumber  = value; } 
	public int getExchangeNumber() { return exchangeNumber ; } 

	public void setStockNumber(int value) { stockNumber  = value; } 
	public int getStockNumber() { return stockNumber ; } 

	public void setGrantStartTime(long value) { grantStartTime  = value; } 
	public long getGrantStartTime() { return grantStartTime ; } 

	public void setGrantEndTime(long value) { grantEndTime  = value; } 
	public long getGrantEndTime() { return grantEndTime ; } 

	public void setStartTime(long value) { startTime  = value; } 
	public long getStartTime() { return startTime ; } 

	public void setEndTime(long value) { endTime  = value; } 
	public long getEndTime() { return endTime ; } 

	public void setExclusive(boolean value) { exclusive  = value; } 
	public boolean getExclusive() { return exclusive ; } 


}